//
//  GCDBarrier.h
//  Demo
//
//  Created by tianXin on 2017/8/30.
//  Copyright © 2017年 田鑫. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GCDQueue.h"

@interface GCDBarrier : NSObject

+ (void)executeInSyncQueue:(GCDQueue *)queue block: (dispatch_block_t)block;
+ (void)executeInAsyncQueue:(GCDQueue *)queue block:(dispatch_block_t)block;
+ (void)executeInQueue:(dispatch_queue_t)queue block:(dispatch_block_t)block;

@end
